GPIO Pin to Digital I/O Module Mapping
For communication between a Raspberry Pi and Opto 22 digital I/O modules, the Digital I/O Carrier Board for Raspberry Pi maps 16 GPIO pins to 16 I/O modules.
To read or write to an I/O module, reference the GPIO pin number in your code.
Important: Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).
When you read and write to I/O points, 0 is On and 1 is Off.
Mapping for a G4 Rack
Mapping for a SNAP Rack
Next Step
Continue to Raspberry Pi Examples